import request from '@/utils/request'

// 查询家政订单列表
export function housekeepingOrderPageQuery(data) {
  return request({
    url: '/ruoyi-recycle/housekeepingOrder/housekeepingOrderPageQuery',
    method: 'post',
    data: data
  })
}

// 查询家政订单详细
export function getHousekeepingOrder(id) {
  return request({
    url: '/ruoyi-recycle/housekeepingOrder/' + id,
    method: 'get'
  })
}

// 新增家政订单
export function addHousekeepingOrder(data) {
  return request({
    url: '/recycle/housekeepingOrder',
    method: 'post',
    data: data
  })
}

// 修改家政订单
export function updateHousekeepingOrder(data) {
  return request({
    url: '/recycle/housekeepingOrder',
    method: 'put',
    data: data
  })
}

// 删除家政订单
export function delHousekeepingOrder(id) {
  return request({
    url: '/recycle/housekeepingOrder/' + id,
    method: 'delete'
  })
}
